CSS-[盒子的型態]- inline boxes | inline-block | block


直到今天才真的弄清楚,inline-block到底是什麼模樣XD

盒模型 (待補)

三者型態的比較:

inline boxes

inline-block 到底是什麼盒子

什麼時候需要轉型成inline-block?
可能在inline是a標籤作為導覽列時,
需要上方一些margin空間,就會考慮變成inline-block








你可能感興趣的文章

Day 28 - Tomato Timer Project

Day 28 - Tomato Timer Project

JavaScript 邏輯運算 && ( and )、| | ( or )、!( not )

JavaScript 邏輯運算 && ( and )、| | ( or )、!( not )

The introduction and difference between class component and function component in React

The introduction and difference between class component and function component in React






留言討論